package com.sls.web.manager.common;

import com.sls.web.manager.pojo.UserInfoVO;

/**
 * 用户信息
 * 
 * @author root
 * 
 */
public class UserInfoThreadLocal {
	private static final ThreadLocal<UserInfoVO> USERINFO_THREADLOCAL = new ThreadLocal<UserInfoVO>();

	public static void clean() {
		USERINFO_THREADLOCAL.remove();
	}

	public static UserInfoVO get() {
		return USERINFO_THREADLOCAL.get();
	}

	public static void set(UserInfoVO vo) {
		USERINFO_THREADLOCAL.set(vo);
	}
}
